package dviz;

public class DebugSwitch {
	public static final boolean AnimationSystemImpl_DEBUG = false;

	public static StackTraceElement[] getStackTrace(int offset) {
		StackTraceElement ele[] = (new Throwable()).getStackTrace();
		StackTraceElement ret[] = new StackTraceElement[ele.length - offset];
		System.arraycopy(ele, offset, ret, 0, ele.length - offset);
		return ret;
	}

	public static void main(String s[]) {
		getStackTrace(0);
	}
}
